<h2>My Work List</h2> 

<%= error_messages_for 'submission' %> 

<% if not @submissions.empty? %>
  <h3>Grant Applications</h3>
	<%= render :partial => 'submission_list'%>
<% end %>

<% if not @approvals.empty? %>
  <h3>Approvals</h3>    
	<%= render :partial => 'approval_list'%>
<% end %> 

<% if not @judgments.empty? %>
  <h3>Judgments</h3>    
	<%= render :partial => 'judgment_list'%>
<% end %> 

<% if not @assign_judges.empty? %>
  <h3>Assign Judges</h3>    
	<%= render :partial => 'assign_judges_list'%>
<% end %>

<% if @no_work -%>
	<p>There is no work to be completed. <br />
	Please check back soon, or watch your email for notification of new work.</p>
<% if current_user.is_seeker? %>
	<p>If you want to apply for a grant, click on <%= link_to "Browse Grants", :controller => "cycle", :action => "list" %>. </p>
<% end %>

<% end -%>